PyIgnition

https://github.com/animatinator/PyIgnition update for Python 3
Clone: git clone https://git.frombelow.net/PyIgnition.git
Log | Files | Refs | README

File format faffery.xml (963B)


      1 <?xml version="1.0"?>
      2 
      3  <head>
      4   <title>Particle Test</title>
      5   <author>Doove & Joomz</author>
      6   <info>A little particle test down in the park!</info>
      7   <link rel="stylesheet" href="style.css" type="text/css"/>
      8  </head>
      9 
     10  <filename>
     11 
     12   <ParticleSource>
     13   
     14    <properties>
     15      <drawtype>0</drawtype>
     16      <particleimage>"test.jpg"</particleimage>
     17    </properties>
     18 
     19    <keyframes>
     20 
     21    <keyframe id=0>
     22     <initspeed>20</initspeed>
     23     <initdirection>3.141</initdirection>
     24     <particlesperframe>3</particlesperframe>
     25    </keyframe>
     26 
     27    <keyframe id=200>
     28     <initspeed>2</initspeed>
     29     <initdirection>0</initdirection>
     30     <particlesperframe>50</particlesperframe>
     31    </keyframe>
     32 
     33    </keyframes>
     34 
     35   </ParticleSource>
     36  
     37   <DirectedGravity>   
     38     <keyframes>
     39       <keyframe id=0>
     40         <pos>[200, 200]</keyframe>
     41         <direction>[3, 1]</direction>
     42         <strength>20</strength>
     43       </keyframe>
     44     </keyframes>
     45   </DirectedGravity>
     46 
     47  </filename>
     48 
     49 </xml>